Api.EnableAxisInput method
Adds the Digital Input variable to the PDO. Not all servo drives support this feature.
Namespace: IntervalZero.KINGSTAR.OpcUa.Api
Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.4.0.0
Syntax
public KsError EnableAxisInput(
bool Active
)
Public Function EnableAxisInput(
Active As Boolean
) As KsError
Parameters
Active
Type: bool
true: The Digital Input variable is mapped to PDO. false: Not mapped to PDO. By default, it is false.
Return value
Type: KsError
A return code of a method.
Remarks
- This method must be called after Create and before Start.
- The first three bits of the inputs are Negative Overtravel, Positive Overtravel, and Home Sensor. If you enable the inputs, you can access the Overtravel bits.
Usable EtherCAT states
ecatOffline
Examples
N/A
See also